home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / packages / underline.elc.z / underline.elc
Emacs Compiled Lisp  |  1998-05-21  |  2.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 35 33 3a 34 31 20 31 | 39 39 38 0a 3b 3b 3b 20 |:53:41 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 70 61 63 6b |s-20.3/l|isp/pack|
|000000a0| 61 67 65 73 2f 75 6e 64 | 65 72 6c 69 6e 65 2e 65 |ages/und|erline.e|
|000000b0| 6c 0a 3b 3b 3b 20 65 6d | 61 63 73 20 76 65 72 73 |l.;;; em|acs vers|
|000000c0| 69 6f 6e 20 32 30 2e 34 | 20 22 45 6d 65 72 61 6c |ion 20.4| "Emeral|
|000000d0| 64 22 20 58 45 6d 61 63 | 73 20 20 4c 75 63 69 64 |d" XEmac|s Lucid|
|000000e0| 2e 0a 3b 3b 3b 20 62 79 | 74 65 63 6f 6d 70 20 76 |..;;; by|tecomp v|
|000000f0| 65 72 73 69 6f 6e 20 32 | 2e 32 35 20 58 45 6d 61 |ersion 2|.25 XEma|
|00000100| 63 73 3b 20 32 32 2d 4d | 61 72 2d 39 36 2e 0a 3b |cs; 22-M|ar-96..;|
|00000110| 3b 3b 20 6f 70 74 69 6d | 69 7a 61 74 69 6f 6e 20 |;; optim|ization |
|00000120| 69 73 20 6f 6e 2e 0a 3b | 3b 3b 20 74 68 69 73 20 |is on..;|;; this |
|00000130| 66 69 6c 65 20 75 73 65 | 73 20 6f 70 63 6f 64 65 |file use|s opcode|
|00000140| 73 20 77 68 69 63 68 20 | 64 6f 20 6e 6f 74 20 65 |s which |do not e|
|00000150| 78 69 73 74 20 69 6e 20 | 45 6d 61 63 73 20 31 39 |xist in |Emacs 19|
|00000160| 2e 0a 0a 28 69 66 20 28 | 61 6e 64 20 28 62 6f 75 |...(if (|and (bou|
|00000170| 6e 64 70 20 27 65 6d 61 | 63 73 2d 76 65 72 73 69 |ndp 'ema|cs-versi|
|00000180| 6f 6e 29 0a 09 20 28 6f | 72 20 28 61 6e 64 20 28 |on).. (o|r (and (|
|00000190| 62 6f 75 6e 64 70 20 27 | 65 70 6f 63 68 3a 3a 76 |boundp '|epoch::v|
|000001a0| 65 72 73 69 6f 6e 29 20 | 65 70 6f 63 68 3a 3a 76 |ersion) |epoch::v|
|000001b0| 65 72 73 69 6f 6e 29 0a | 09 20 20 20 20 20 28 73 |ersion).|. (s|
|000001c0| 74 72 69 6e 67 2d 6c 65 | 73 73 70 20 65 6d 61 63 |tring-le|ssp emac|
|000001d0| 73 2d 76 65 72 73 69 6f | 6e 20 22 32 30 22 29 29 |s-versio|n "20"))|
|000001e0| 29 0a 20 20 20 20 28 65 | 72 72 6f 72 20 22 60 75 |). (e|rror "`u|
|000001f0| 6e 64 65 72 6c 69 6e 65 | 2e 65 6c 27 20 77 61 73 |nderline|.el' was|
|00000200| 20 63 6f 6d 70 69 6c 65 | 64 20 66 6f 72 20 45 6d | compile|d for Em|
|00000210| 61 63 73 20 32 30 22 29 | 29 0a 0a 28 6f 72 20 28 |acs 20")|)..(or (|
|00000220| 62 6f 75 6e 64 70 20 27 | 63 75 72 72 65 6e 74 2d |boundp '|current-|
|00000230| 6c 6f 61 64 2d 6c 69 73 | 74 29 20 28 73 65 74 71 |load-lis|t) (setq|
|00000240| 20 63 75 72 72 65 6e 74 | 2d 6c 6f 61 64 2d 6c 69 | current|-load-li|
|00000250| 73 74 20 6e 69 6c 29 29 | 0a 0a 0a 23 40 31 37 39 |st nil))|...#@179|
|00000260| 20 55 6e 64 65 72 6c 69 | 6e 65 20 61 6c 6c 20 6e | Underli|ne all n|
|00000270| 6f 6e 62 6c 61 6e 6b 20 | 63 68 61 72 61 63 74 65 |onblank |characte|
|00000280| 72 73 20 69 6e 20 74 68 | 65 20 72 65 67 69 6f 6e |rs in th|e region|
|00000290| 2e 0a 57 6f 72 6b 73 20 | 62 79 20 6f 76 65 72 73 |..Works |by overs|
|000002a0| 74 72 69 6b 69 6e 67 20 | 75 6e 64 65 72 73 63 6f |triking |undersco|
|000002b0| 72 65 73 2e 0a 43 61 6c | 6c 65 64 20 66 72 6f 6d |res..Cal|led from|
|000002c0| 20 70 72 6f 67 72 61 6d | 2c 20 74 61 6b 65 73 20 | program|, takes |
|000002d0| 74 77 6f 20 61 72 67 75 | 6d 65 6e 74 73 20 53 54 |two argu|ments ST|
|000002e0| 41 52 54 20 61 6e 64 20 | 45 4e 44 0a 77 68 69 63 |ART and |END.whic|
|000002f0| 68 20 73 70 65 63 69 66 | 79 20 74 68 65 20 72 61 |h specif|y the ra|
|00000300| 6e 67 65 20 74 6f 20 6f | 70 65 72 61 74 65 20 6f |nge to o|perate o|
|00000310| 6e 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 75 |n...(def|alias 'u|
|00000320| 6e 64 65 72 6c 69 6e 65 | 2d 72 65 67 69 6f 6e 20 |nderline|-region |
|00000330| 23 5b 28 73 74 61 72 74 | 20 65 6e 64 29 20 22 8a |#[(start| end) ".|
|00000340| c0 20 89 19 5c 6e 0b 5d | c4 93 88 5c 6e 0b 5e 62 |. ..\n.]|...\n.^b|
|00000350| 88 60 09 57 ad 8d c5 c6 | 21 ac 83 c7 63 88 c8 75 |.`.W....|!...c..u|
|00000360| 88 aa 6e 2a 87 22 20 5b | 6d 61 6b 65 2d 6d 61 72 |..n*." [|make-mar|
|00000370| 6b 65 72 20 65 6e 64 31 | 20 73 74 61 72 74 20 65 |ker end1| start e|
|00000380| 6e 64 20 6e 69 6c 20 6c | 6f 6f 6b 69 6e 67 2d 61 |nd nil l|ooking-a|
|00000390| 74 20 22 5b 5f 00 2d 20 | 5d 22 20 22 5f 08 22 20 |t "[_.- |]" "_." |
|000003a0| 31 5d 20 34 20 28 23 24 | 20 2e 20 36 30 39 29 20 |1] 4 (#$| . 609) |
|000003b0| 22 2a 72 22 5d 29 0a 23 | 40 31 35 38 20 52 65 6d |"*r"]).#|@158 Rem|
|000003c0| 6f 76 65 20 61 6c 6c 20 | 75 6e 64 65 72 6c 69 6e |ove all |underlin|
|000003d0| 69 6e 67 20 28 6f 76 65 | 72 73 74 72 75 63 6b 20 |ing (ove|rstruck |
|000003e0| 75 6e 64 65 72 73 63 6f | 72 65 73 29 20 69 6e 20 |undersco|res) in |
|000003f0| 74 68 65 20 72 65 67 69 | 6f 6e 2e 0a 43 61 6c 6c |the regi|on..Call|
|00000400| 65 64 20 66 72 6f 6d 20 | 70 72 6f 67 72 61 6d 2c |ed from |program,|
|00000410| 20 74 61 6b 65 73 20 74 | 77 6f 20 61 72 67 75 6d | takes t|wo argum|
|00000420| 65 6e 74 73 20 53 54 41 | 52 54 20 61 6e 64 20 45 |ents STA|RT and E|
|00000430| 4e 44 0a 77 68 69 63 68 | 20 73 70 65 63 69 66 79 |ND.which| specify|
|00000440| 20 74 68 65 20 72 61 6e | 67 65 20 74 6f 20 6f 70 | the ran|ge to op|
|00000450| 65 72 61 74 65 20 6f 6e | 2e 1f 0a 28 64 65 66 61 |erate on|...(defa|
|00000460| 6c 69 61 73 20 27 75 6e | 75 6e 64 65 72 6c 69 6e |lias 'un|underlin|
|00000470| 65 2d 72 65 67 69 6f 6e | 20 23 5b 28 73 74 61 72 |e-region| #[(star|
|00000480| 74 20 65 6e 64 29 20 22 | 8a c0 20 89 19 5c 6e 0b |t end) "|.. ..\n.|
|00000490| 5d c4 93 88 5c 6e 0b 5e | 62 88 c5 c6 09 c7 23 ad |]...\n.^|b.....#.|
|000004a0| 86 c8 c9 21 88 aa 73 2a | 87 22 20 5b 6d 61 6b 65 |...!..s*|." [make|
|000004b0| 2d 6d 61 72 6b 65 72 20 | 65 6e 64 31 20 73 74 61 |-marker |end1 sta|
|000004c0| 72 74 20 65 6e 64 20 6e | 69 6c 20 72 65 2d 73 65 |rt end n|il re-se|
|000004d0| 61 72 63 68 2d 66 6f 72 | 77 61 72 64 20 22 5f 08 |arch-for|ward "_.|
|000004e0| 5c 5c 7c 08 5f 22 20 74 | 20 64 65 6c 65 74 65 2d |\\|._" t| delete-|
|000004f0| 63 68 61 72 20 2d 32 5d | 20 35 20 28 23 24 20 2e |char -2]| 5 (#$ .|
|00000500| 20 39 35 37 29 20 22 2a | 72 22 5d 29 0a 23 40 31 | 957) "*|r"]).#@1|
|00000510| 36 36 20 52 65 6d 6f 76 | 65 20 61 6c 6c 20 6f 76 |66 Remov|e all ov|
|00000520| 65 72 73 74 72 69 6b 69 | 6e 67 20 28 63 68 61 72 |erstriki|ng (char|
|00000530| 61 63 74 65 72 2d 62 61 | 63 6b 73 70 61 63 65 2d |acter-ba|ckspace-|
|00000540| 63 68 61 72 61 63 74 65 | 72 29 20 69 6e 20 74 68 |characte|r) in th|
|00000550| 65 20 72 65 67 69 6f 6e | 2e 0a 43 61 6c 6c 65 64 |e region|..Called|
|00000560| 20 66 72 6f 6d 20 70 72 | 6f 67 72 61 6d 2c 20 74 | from pr|ogram, t|
|00000570| 61 6b 65 73 20 74 77 6f | 20 61 72 67 75 6d 65 6e |akes two| argumen|
|00000580| 74 73 20 53 54 41 52 54 | 20 61 6e 64 20 45 4e 44 |ts START| and END|
|00000590| 20 77 68 69 63 68 20 73 | 70 65 63 69 66 79 20 74 | which s|pecify t|
|000005a0| 68 65 0a 72 61 6e 67 65 | 20 74 6f 20 6f 70 65 72 |he.range| to oper|
|000005b0| 61 74 65 20 6f 6e 2e 1f | 0a 28 64 65 66 61 6c 69 |ate on..|.(defali|
|000005c0| 61 73 20 27 75 6e 6f 76 | 65 72 73 74 72 69 6b 65 |as 'unov|erstrike|
|000005d0| 2d 72 65 67 69 6f 6e 20 | 23 5b 28 73 74 61 72 74 |-region |#[(start|
|000005e0| 20 65 6e 64 29 20 22 8a | c0 20 89 19 5c 6e 0b 5d | end) ".|. ..\n.]|
|000005f0| c4 93 88 5c 6e 0b 5e 62 | 88 c5 c6 09 c7 23 ad 86 |...\n.^b|.....#..|
|00000600| c8 c9 21 88 aa 73 2a 87 | 22 20 5b 6d 61 6b 65 2d |..!..s*.|" [make-|
|00000610| 6d 61 72 6b 65 72 20 65 | 6e 64 31 20 73 74 61 72 |marker e|nd1 star|
|00000620| 74 20 65 6e 64 20 6e 69 | 6c 20 72 65 2d 73 65 61 |t end ni|l re-sea|
|00000630| 72 63 68 2d 66 6f 72 77 | 61 72 64 20 22 5c 5c 28 |rch-forw|ard "\\(|
|00000640| 2e 5c 5c 29 08 5c 5c 31 | 22 20 74 20 64 65 6c 65 |.\\).\\1|" t dele|
|00000650| 74 65 2d 63 68 61 72 20 | 2d 32 5d 20 35 20 28 23 |te-char |-2] 5 (#|
|00000660| 24 20 2e 20 31 32 39 39 | 29 20 22 2a 72 22 5d 29 |$ . 1299|) "*r"])|
|00000670| 0a 23 40 31 37 37 20 4f | 76 65 72 73 74 72 69 6b |.#@177 O|verstrik|
|00000680| 65 20 28 63 68 61 72 61 | 63 74 65 72 2d 62 61 63 |e (chara|cter-bac|
|00000690| 6b 73 70 61 63 65 2d 63 | 68 61 72 61 63 74 65 72 |kspace-c|haracter|
|000006a0| 29 20 61 6c 6c 20 6e 6f | 6e 62 6c 61 6e 6b 20 63 |) all no|nblank c|
|000006b0| 68 61 72 61 63 74 65 72 | 73 20 69 6e 0a 74 68 65 |haracter|s in.the|
|000006c0| 20 72 65 67 69 6f 6e 2e | 20 43 61 6c 6c 65 64 20 | region.| Called |
|000006d0| 66 72 6f 6d 20 70 72 6f | 67 72 61 6d 2c 20 74 61 |from pro|gram, ta|
|000006e0| 6b 65 73 20 74 77 6f 20 | 61 72 67 75 6d 65 6e 74 |kes two |argument|
|000006f0| 73 20 53 54 41 52 54 20 | 61 6e 64 20 45 4e 44 20 |s START |and END |
|00000700| 77 68 69 63 68 0a 73 70 | 65 63 69 66 79 20 74 68 |which.sp|ecify th|
|00000710| 65 20 72 61 6e 67 65 20 | 74 6f 20 6f 70 65 72 61 |e range |to opera|
|00000720| 74 65 20 6f 6e 2e 1f 0a | 28 64 65 66 61 6c 69 61 |te on...|(defalia|
|00000730| 73 20 27 6f 76 65 72 73 | 74 72 69 6b 65 2d 72 65 |s 'overs|trike-re|
|00000740| 67 69 6f 6e 20 23 5b 28 | 73 74 61 72 74 20 65 6e |gion #[(|start en|
|00000750| 64 29 20 22 8a c0 20 89 | 19 5c 6e 0b 5d c4 93 88 |d) ".. .|.\n.]...|
|00000760| 5c 6e 0b 5e 62 88 60 09 | 57 ad 90 c5 c6 21 ac 86 |\n.^b.`.|W....!..|
|00000770| 60 66 c7 b1 02 88 c8 75 | 88 aa 6b 2a 87 22 20 5b |`f.....u|..k*." [|
|00000780| 6d 61 6b 65 2d 6d 61 72 | 6b 65 72 20 65 6e 64 31 |make-mar|ker end1|
|00000790| 20 73 74 61 72 74 20 65 | 6e 64 20 6e 69 6c 20 6c | start e|nd nil l|
|000007a0| 6f 6f 6b 69 6e 67 2d 61 | 74 20 22 5b 5f 00 2d 20 |ooking-a|t "[_.- |
|000007b0| 5d 22 20 38 20 31 5d 20 | 34 20 28 23 24 20 2e 20 |]" 8 1] |4 (#$ . |
|000007c0| 31 36 35 35 29 20 22 2a | 72 22 5d 29 0a 23 40 31 |1655) "*|r"]).#@1|
|000007d0| 34 39 20 52 65 6d 6f 76 | 65 20 75 6e 64 65 72 6c |49 Remov|e underl|
|000007e0| 69 6e 69 6e 67 20 61 6e | 64 20 6f 76 65 72 73 74 |ining an|d overst|
|000007f0| 72 69 6b 69 6e 67 20 69 | 6e 20 74 68 65 20 72 65 |riking i|n the re|
|00000800| 67 69 6f 6e 2e 20 20 43 | 61 6c 6c 65 64 20 66 72 |gion. C|alled fr|
|00000810| 6f 6d 20 61 20 70 72 6f | 67 72 61 6d 2c 0a 74 61 |om a pro|gram,.ta|
|00000820| 6b 65 73 20 74 77 6f 20 | 61 72 67 75 6d 65 6e 74 |kes two |argument|
|00000830| 73 20 53 54 41 52 54 20 | 61 6e 64 20 45 4e 44 20 |s START |and END |
|00000840| 77 68 69 63 68 20 73 70 | 65 63 69 66 79 20 74 68 |which sp|ecify th|
|00000850| 65 20 72 61 6e 67 65 20 | 74 6f 20 6f 70 65 72 61 |e range |to opera|
|00000860| 74 65 20 6f 6e 2e 1f 0a | 28 64 65 66 61 6c 69 61 |te on...|(defalia|
|00000870| 73 20 27 75 6e 75 6e 64 | 65 72 6c 69 6e 65 2d 61 |s 'unund|erline-a|
|00000880| 6e 64 2d 75 6e 6f 76 65 | 72 73 74 72 69 6b 65 2d |nd-unove|rstrike-|
|00000890| 72 65 67 69 6f 6e 20 23 | 5b 28 73 74 61 72 74 20 |region #|[(start |
|000008a0| 65 6e 64 29 20 22 8a 65 | 62 88 c0 c1 5c 6e 0b 5d |end) ".e|b...\n.]|
|000008b0| c4 23 ad b1 60 c5 5a 66 | 1e 06 67 1e 07 0e 06 0e |.#..`.Zf|..g.....|
|000008c0| 07 55 ab 86 c8 c9 21 88 | aa 98 0e 06 ca 55 ab 86 |.U....!.|.....U..|
|000008d0| c8 c9 21 88 aa 8c 0e 07 | ca 55 ab 86 60 53 60 54 |..!.....|.U..`S`T|
|000008e0| 7c 88 2a aa 46 29 87 22 | 20 5b 73 65 61 72 63 68 ||.*.F)."| [search|
|000008f0| 2d 66 6f 72 77 61 72 64 | 20 22 08 22 20 73 74 61 |-forward| "." sta|
|00000900| 72 74 20 65 6e 64 20 74 | 20 32 20 70 72 65 63 65 |rt end t| 2 prece|
|00000910| 64 69 6e 67 20 66 6f 6c | 6c 6f 77 69 6e 67 20 64 |ding fol|lowing d|
|00000920| 65 6c 65 74 65 2d 63 68 | 61 72 20 2d 32 20 3f 5c |elete-ch|ar -2 ?\|
|00000930| 5f 5d 20 34 20 28 23 24 | 20 2e 20 32 30 30 33 29 |_] 4 (#$| . 2003)|
|00000940| 20 22 2a 72 22 5d 29 0a | | "*r"]).| |
+--------+-------------------------+-------------------------+--------+--------+